package net.yvesd.cellhunter.model.filter;

import java.util.ArrayList;
import java.util.List;

import net.yvesd.cellhunter.model.coverage.SignalStrengthLocation;

public class ZeroCidFilter implements Filter {

	private static final int ZERO_CID_VALUE = 0;

	@Override
	public List<SignalStrengthLocation> filter(int lac, int cid,
			List<SignalStrengthLocation> signalStrenghLocations) {

		List<SignalStrengthLocation> list = new ArrayList<SignalStrengthLocation>();

		if (cid != ZERO_CID_VALUE)
			list.addAll(signalStrenghLocations);

		return list;
	}
}
